
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<meta content="telephone=no" name="format-detection" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{if $title}{$title}{else}{if !empty($_W['account']['name'])}{$_W['account']['name']}{/if}{/if}</title>
<link href='http://static.ptweixin.com/css/global.css' rel='stylesheet' type='text/css' />
<link href='http://static.ptweixin.com/api/shop/skin/default/css/style.css?t=20140220' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='http://static.ptweixin.com/js/jquery-1.7.2.min.js'></script>
<script type='text/javascript' src='http://static.ptweixin.com/api/js/global.js?t=20140220'></script>
<script type='text/javascript' src='http://static.ptweixin.com/api/shop/js/shop.js?t=20140220'></script>
<script language="javascript">$(document).ready(shop_obj.page_init);</script>
<script src="http://manage.wemond.com/themes/mobile/style11/shopping/style/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
var t;
var speed = 2;//图片切换速度
var nowlan=0;//图片开始时间
function changepic() {
var imglen = $("div[name='pic']").find("div").length;
$("div[name='pic']").find("div").hide();
$("div[name='pic']").find("div").eq(nowlan).show();
nowlan = nowlan+1 ==imglen ?0:nowlan + 1;
t = setTimeout("changepic()", speed * 1000);
}
onload = function () { changepic(); }

</script>
</head>

<body>
<div id="shop_page_contents">
<div id="cover_layer"></div>
<link href='http://static.ptweixin.com/api/shop/skin/default/css/index.css?t=20140220' rel='stylesheet' type='text/css' />
<link href='http://static.ptweixin.com/api/shop/skin/default/css/index_media.css?t=20140220' rel='stylesheet' type='text/css' />
<link href='http://static.ptweixin.com/js/plugin/flexslider/flexslider.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='http://static.ptweixin.com/js/plugin/flexslider/flexslider.js'></script>
<script type='text/javascript' src='http://static.ptweixin.com/api/shop/js/index.js?t=20140220'></script>
<script language="javascript">var shop_skin_data=[{"PId":"27","SId":"1","MemberId":"29","ContentsType":"1","Title":"[\"\",\"\",\"\",\"\"]","ImgPath":"[\"\\\/u_file\\\/29\\\/1310\\\/e1ee702e1b.jpg\",\"\\\/u_file\\\/29\\\/1310\\\/fc0319635c.jpg\",\"\\\/u_file\\\/29\\\/1310\\\/c3d267e874.jpg\",\"\\\/u_file\\\/29\\\/1310\\\/e40cd2a1af.jpg\"]","Url":"[\"\\\/api\\\/2ec7422ced\\\/shop\\\/products\\\/284\\\/\",\"\\\/api\\\/2ec7422ced\\\/shop\\\/products\\\/290\\\/\",\"\\\/api\\\/2ec7422ced\\\/shop\\\/products\\\/293\\\/\",\"\\\/api\\\/2ec7422ced\\\/shop\\\/products\\\/289\\\/\"]","Postion":"t01","Width":"640","Height":"320","NeedLink":"1"}]; $(document).ready(index_obj.index_init);</script><link href='http://static.ptweixin.com/api/shop/skin/default/css/products.css?t=20140220' rel='stylesheet' type='text/css' />
<link href='http://static.ptweixin.com/api/shop/skin/default/css/products_media.css?t=20140220' rel='stylesheet' type='text/css' />

<div id="shop_skin_index">
    <div class="shop_skin_index_list banner" rel="edit-t01">
    
<div name="pic" style="float:left; position:relative;overflow:hidden;" >
{loop $hdp $slide}
<div><a href="{if $slide['url'] == $_W['siteroot']}#{else}{$slide['url']}{/if}"><img  src="./resource/attachment/{$slide['thumb']}" alt="{$slide['title']}"/></a></div>
{/loop}
</div>


    </div>
</div>



<div id="index_prolist">
	<h1>新品上市</h1>
	

	<div id="products">
		<div class="list-1">
		
		{loop $list $item}
			<?php 
				$str = $item['title'];
				$s = mb_substr($str,0,18,'utf-8');
			
			?>
			<div class="item">
				<ul>
					<li class="img"><a href="{php echo $this->createMobileUrl('detail', array('id' => $item['id']))}"><img src="{$_W['attachurl']}{$item['thumb']}"></a></li>
					<li class="name"><a href="{php echo $this->createMobileUrl('detail', array('id' => $item['id']))}"><?php echo $s;?></a>{if $item['type'] == '2'}(虚拟){/if}<span>￥{$item['marketprice']} {if $item['unit']} / {$item['unit']}{/if}</span></li>
				</ul>
			</div>
	
						
		{/loop}
						
			<div class="clear"></div>					</div>
	</div>
</div></div><div id="footer_points"></div>
<footer id="footer">
	<ul>
		<li class="category"><a href="#">分类</a></li>
		<li class="cart"><a onclick="location.href = '{php echo $this->createMobileUrl('mycart')}'" href="#">购物车</a></li>
		<li class="member"><a href="{php echo $this->createMobileUrl('myorder')}">我的</a></li>
		<li class="home"><a  href="#">首页</a></li>
	</ul>
</footer><div id="category">
	<div class="close"></div>
	<dl>
			{loop $category $item}
					<dt><a href="{php echo $this->createMobileUrl('list', array('pcate' => $item['id']))}">{$item['name']}</a></dt>
					{loop $children[$item['id']] $citem}
								<dd><a href="{php echo $this->createMobileUrl('list', array('ccate' => $citem['id']))}">&gt; {$citem['name']}</a></dd>
					{/loop}
			{/loop}			
					<!--
								
					<dt><a href="/api/2ec7422ced/shop/products/295/">裤装</a></dt>
								<dd><a href="/api/2ec7422ced/shop/products/296/">&gt; 休闲系列</a></dd>
								<dd><a href="/api/2ec7422ced/shop/products/297/">&gt; 牛仔系列</a></dd>-->
					</dl>
</div></body>
</html>